import request from "@/utils/request";

export function check(equipmentCode, alarmTime) {
    return request({
        url: '/alarm/check',
        method: 'get',
        params: {
            equipmentCode: equipmentCode,
            alarmTime: alarmTime
        }
    })
}
export function generate(data) {
    return request({
        url: '/alarm/generate',
        method: 'post',
        data: data
    })
}
export function deleteFile(data) {
    return request({
        url: '/alarm/delete',
        method: 'post',
        data: data
    })
}